home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000064_JDanSkinner@JDanSkinner.com_Thu Nov 7 12:22:54 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  8KB  |  211 lines

  1. Article: 13827 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
  3. From: JDanSkinner@JDanSkinner.com (Dan Skinner)
  4. Newsgroups: comp.protocols.kermit.misc,comp.unix.sco.misc,comp.terminals
  5. Subject: Re: Kermit (K95), SCO Openserver, Progress, and Linux.
  6. Date: 7 Nov 2002 09:19:08 -0800
  7. Organization: http://groups.google.com/
  8. Lines: 192
  9. Message-ID: <8ce22d01.0211070919.34c74021@posting.google.com>
  10. References: <8ce22d01.0211051340.4391f5cb@posting.google.com> <aq9ecp$1t2$1@watsol.cc.columbia.edu> <8ce22d01.0211060948.78805fbe@posting.google.com> <aqbm04$sun$1@newsmaster.cc.columbia.edu>
  11. NNTP-Posting-Host: 24.159.192.106
  12. Content-Type: text/plain; charset=ISO-8859-1
  13. Content-Transfer-Encoding: 8bit
  14. X-Trace: posting.google.com 1036689549 20812 127.0.0.1 (7 Nov 2002 17:19:09 GMT)
  15. X-Complaints-To: groups-abuse@google.com
  16. NNTP-Posting-Date: 7 Nov 2002 17:19:09 GMT
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13827 comp.unix.sco.misc:150634 comp.terminals:17594
  18.  
  19. jaltman@watsun.cc.columbia.edu (Jeffrey Altman) wrote in message news:<aqbm04$sun$1@newsmaster.cc.columbia.edu>...
  20. > You have your remote character set configured for ISO Latin 1 which
  21. > does not contain graphics characters.  Set your remote character set
  22. > to CP437 and you will experience the desired behavior.
  23. > In article <8ce22d01.0211060948.78805fbe@posting.google.com>,
  24. > Dan Skinner <JDanSkinner@JDanSkinner.com> wrote:
  25. > : Thanks Frank;
  26. > : I've been doing some expermental research and have found the
  27. > : following. It seems that all functions of the K95 Linux terminal
  28. > : emulation work except the escape to and from graphics mode (GS and
  29. > : GE). The termcap (protermcap in Progress) is set to GS=^N and GE=^O
  30. > : and work on the Linux console.  I understand that Linux display codes
  31. > : are like vt100 and I check the vt100 termcap entries and find GS=^N
  32. > : and GE=^O and this works if I set K95 to vt100. Lots of other stuff is
  33. > : broken but the box drawing works with Linux TERM=linux and K95
  34. > : emulation set to vt100.  When K95 emulation set to linux the box
  35. > : drawing characters are the un-escaped values of G1 through GV.  When I
  36. > : null the escape codes (GS=\000 and GE=\000) and put in corners of +
  37. > : and lines of | & - both the linux console and k95 in linux emulation
  38. > : give the same result.
  39. > : For your information show char yields:
  40. > :  Transfer Translation: on
  41. > :  File Character-Set: latin1-iso (ISO 8859-1 Latin-1), 8-bit
  42. > :  File Scan: on
  43. > :    Default 7bit-Character-Set: ascii
  44. > :    Default 8bit-Character-Set: cp437
  45. > :  Transfer Character-Set: Transparent
  46. > :  SEND character-set-selection: automatic
  47. > :  RECEIVE character-set-selection: manual
  48. > :  (Use SHOW ASSOCIATIONS to list automatic character-set selections.)
  49. > : 
  50. > :  Unknown-Char-Set: Keep
  51. > : 
  52. > :  Terminal character-sets:
  53. > :      Mode: 8-bit Multinational Mode
  54. > :     Local: Unicode display / Windows Code Page 1252 input
  55. > :    Remote: GL->G0: US ASCII (94 chars)
  56. > :                G1: US ASCII (96 chars)
  57. > :            GR->G2: ISO Latin-1 (94 chars)
  58. > :                G3: DEC Special Graphics (94 chars)
  59. > : 
  60. > :  Keyboard character-sets:
  61. > :    Multinational: PC Code Page 437
  62. > :         National: US ASCII
  63. > : 
  64. > :  Code Pages:
  65. > :      Active: 1252
  66. > : 
  67. > : Are you sure this is not a K95 issue?
  68. > : Again, any help appreciated.
  69. > : Regards...Dan.
  70. >  Jeffrey Altman * Sr.Software Designer     Kermit 95 2.0 GUI available now!!!
  71. >  The Kermit Project @ Columbia University  SSH, Secure Telnet, Secure FTP, HTTP
  72. >  http://www.kermit-project.org/            Secured with MIT Kerberos, SRP, and 
  73. >  kermit-support@columbia.edu               OpenSSL.
  74.  
  75.  
  76.  
  77. Jeffrey at Kermit Support has provided the information and background
  78. information which made it possible for me to solve my problem.
  79.  
  80. In a nutshell the problem was in the private termcap for Progress.
  81. The is= string in the Progress Linux termcap string sends the escape
  82. sequence <ESC>(B setting the G2 character-set to ISO Latin1 as opposed
  83. to <ESC>(U which sets G2 character-set to cp437 as required by my
  84. particular application environment.  This solved the problem I was
  85. having with character drawn screen logos.  With this change the Linux
  86. console works pretty well.  The linux emulation Kermit box drawing
  87. still presented the un-shifted Gx values of "jklmqx". This I solved
  88. with a technique Progress used in previous SCO Unix ansi termcap's.
  89. This is to null out GS and GE and to replace G1 - GV with the octal
  90. values of the line drawing characters.
  91.  
  92. I'll take this opportunity to praise Kermit support.  They live up to
  93. the quote "AND . . .   Super-responsive technical support: we stand
  94. behind our products and support them vigorously."
  95. The session log Jeffery suggested presented the <ESC>(B like a slap in
  96. the face, (as soon as I took the time to record it!)
  97. With their help we have successfully married Progress, SCO Open
  98. Server, Linux (Mandrake), and Kermit (K95).
  99. Regards�Dan.
  100.  
  101. The following is the revised Linux termcap for Progress protermcap:
  102.   
  103.  
  104. #linux
  105. linux|linux-lat|linux console:\
  106.       :START-RESIZE(ESC-1)=\E1:\
  107.       :GO(F1)=\E[[A:\
  108.         :GO(CTRL-X)=^x:\
  109.       :HELP(F2)=\E[[B:\
  110.       :ENTER-MENUBAR(F3)=\E[[C:\
  111.       :END-ERROR(F4)=\E[[D:\
  112.     :GET(F5)=\E[[E:\
  113.     :PUT(F6)=\E[17~:\
  114.       :RECALL(F7)=\E[18~:\
  115.       :CLEAR(F8)=\E[19~:\
  116.     :CLEAR(CTRL-Z)=^z:\
  117.     :INSERT-MODE(CTRL-T)=^t:\
  118.       :CUT(F10)=\E[21~:\
  119.       :COPY(F11)=\E[23~:\
  120.       :PASTE(F12)=\E[24~:\
  121.     :BACKSPACE(BACKSPACE)=^?:\
  122.     :HOME(HOME)=\E[1~:\
  123.     :DELETE(DELETE)=\E[3~:\
  124.     :END(END)=\E[4~:\
  125.     :PAGE-UP(PAGE-UP)=\E[5~:\
  126.     :PAGE-DOWN(PAGE-DOWN)=\E[6~:\
  127.     :BLOCK(CTRL-V)=^v:\
  128.     :HOME(ESC-<)=\E<:\
  129.     :END(ESC->)=\E>:\
  130.     :is=\E>\E[?3l\E[?4l\E[m\E[?7h\E[?8h\E(U\E)0:\
  131.     :nd=2\E[C:\
  132.     :do=\E[B:\
  133.     :cl=50\E[;H\E[2J:\
  134.     :cm=5\E[%i%d;%dH:\
  135.     :so=2\E[7m:\
  136.     :DELETE-COLUMN(ESC-CTRL-Z)=\E[4:\
  137.     :se=2\E[m:\
  138.     :us=2\E[4m:\
  139.     :ue=2\E[m:\
  140.     :GS=\000:\
  141.     :GE=\000:\
  142.     :G1=\277:\
  143.     :G2=\332:\
  144.     :G3=\300:\
  145.     :G4=\331:\
  146.     :GC=n:\
  147.     :GD=w:\
  148.     :GH=\304:\
  149.     :GL=u:\
  150.     :GR=t:\
  151.     :GU=v:\
  152.     :GV=\263:\
  153.     :HS=2\E[1m:\
  154.     :HR=2\E[m:\
  155.     :BB=2\E[5m:\
  156.     :BR=2\E[m:\
  157.     :ks=\E[?1h\E=:\
  158.     :ke=\E[?1l\E>:\
  159.     :cd=10\E[J:\
  160.     :ce=10\E[K:\
  161.     :co#80:\
  162.     :kd=\E[B:\
  163.     :kl=\E[D:\
  164.     :kr=\E[C:\
  165.     :ku=\E[A:\
  166.     :li#24:\
  167.     :up=\E[A:\
  168.     :xi:\
  169.     :cs=\E[%i%d;%dr:\
  170.     :sr=\EM:\
  171.     :sf=\n:\
  172.     :GO(PF1)=\EOP:\
  173.     :HELP(PF2)=\EOQ:\
  174.     :ENTER-MENUBAR(PF3)=\EOR:\
  175.     :END-ERROR(PF4)=\EOS:\
  176.     :PAGE-UP(ESC-UP-ARROW)=\E\E[A:\
  177.     :PAGE-DOWN(ESC-DOWN-ARROW)=\E\E[B:\
  178.     :LEFT-END(ESC-LEFT-ARROW)=\E\E[D:\
  179.     :RIGHT-END(ESC-RIGHT-ARROW)=\E\E[C:\
  180.     :ku=\E[A:    :L_ku=<Up>:\
  181.     :kd=\E[B:    :L_kd=<Down>:\
  182.     :kr=\E[C:    :L_kr=<Right>:\
  183.     :kl=\E[D:    :L_kl=<Left>:\
  184.     :bc=\177:       :.L_bc:\
  185.     :kh=\Eh:    :L_kh=<ESC> h:\
  186.     :EN=\Ee:    :L_EN=<ESC> e:\
  187.     :PU=^U:     :L_PU=<CTRL-U>:\
  188.     :PD=^K:     :L_PD=<CTRL-D>:\
  189.     :ki=\Ei:    :L_ki=<ESC> i:\
  190.     :DL=^X:     :L_DL=<CTRL-X>:\
  191.     :ESC=\E\E:    :L_ESC=<ESC> <ESC>:\
  192.     :bt=\Eb:    :L_bt=<ESC> b:\
  193.     :fk4=\EOP:    :L_fk4=<PF1>:\
  194.     :fk1=\EOQ:    :L_fk1=<PF2>:\
  195.     :fk2=\EOR:    :L_fk2=<PF3>:\
  196.     :fk3=\EOS:    :L_fk3=<PF4>:\
  197.     :fk5=\E6:    :L_fk5=<ESC> 6:\
  198.     :fk6=\E7:    :L_fk6=<ESC> 7:\
  199.     :fk7=\E8:    :L_fk7=<ESC> 8:\
  200.       :Aka=^k:      :L_Aka=Ctrl-K:\
  201.       :Akd=^z:      :L_Akd=Ctrl-Z:\
  202.       :Akp=^r:      :L_Akp=Ctrl-R:\
  203.       :Aks=^l:      :L_Aks=Ctrl-L:\
  204.       :Aku=\Em:      :L_Aku=Esc-M:\
  205.       :Akw=^g:      :L_Akw=Ctrl-G:\
  206.       :Aki=^e:      :L_Aki=Ctrl-E:\
  207.     :tc=v7kf:
  208.